import { instance as request } from "@/utils";

/**
 * 商品目录列表
 * @param {*} data
 * @returns
 */
export async function ProductDataApi(data) {
    return request({
        url: "/API/ProductData",
        method: "post",
        data,
    });
}

/**
 * 商品目录列表
 * @param {*} data
 * @returns
 */
export async function ProductSelectApi(data) {
    return request({
        url: "/API/ProductSelect",
        method: "post",
        data,
    });
}


/**
 * 商品目录插入
 * @param {*} data
 * @returns
 */
export async function ProductInApi(data) {
    return request({
        url: "/API/ProductIn",
        method: "post",
        data,
    });
}


/**
 * 商品目录更新
 * @param {*} data
 * @returns
 */
export async function ProductUpApi(data) {
    return request({
        url: "/API/ProductUp",
        method: "post",
        data,
    });
}